/*
     private Integer id;
     private String entity1;
     private Integer id1;
     private String entity2;
     private Integer id2;
     private Integer ord;
     private String title;
     private Integer prjId;
*/

Ext.define('DCApp.model.Rel', {
    extend: 'DCApp.model.Base',
    fields: [
        {name: 'id', type: 'int'},
        {name: 'entity1'},
        {name: 'id1', type: 'int'},
        {name: 'entity2'},
        {name: 'id2', type: 'int'},
        {name: 'ord', type: 'int'},
        {name: 'title'},
        {name: 'prjId',type: 'int'}
    ],
    rmap:{
    		'entity1':['DOC','RELIC'],
    		'entity2':['IMAGE']
    	}    
});
